FROM openjdk:17
MAINTAINER bamanker
ARG JAR_FILE
ADD target/${JAR_FILE} /home/sms-service/sms-service.jar
ADD start.sh /home/sms-service/
RUN chmod +x /home/sms-service/start.sh
EXPOSE 8899
CMD ["sh","/home/sms-service/start.sh"]